<template>
	<div class="cart-list">
		<cart-item
				v-for="item in shopCart"
				:key="item.propertyChildIdsStr"
				:cartItem="item"
		/>
	</div>
</template>

<script>
	import CartItem from '#/Cart/CartItem'

	export default {
		name: "CartList",
		props: {
			shopCart: {
				type: Array,
				required: true
			}
		},
		components: {
			CartItem
		}
	}
</script>
